<template>
    <div class="Version">
        <div class="hp_title">
            <h1>隐私协议</h1>
        </div>

        <div class="content" v-html="info.content"></div>
    </div>
</template>

<script>
import { axiosGet } from '../../server/axios';
export default {
    name: 'VerSion',
    props: {
        msg: String,
    },
    data() {
        return {
            info: {},
        };
    },
    mounted() {
        this.getDetial();
    },
    methods: {
        getDetial() {
            axiosGet(`/api/content/privacy_policy`, {}, (res) => {
                console.log(res.data);
                if (res.code != 'ok') {
                    this.$notify({
                        title: '警告',
                        message: res.msg,
                        type: 'warning',
                    });
                }
                this.info = res.data;
            });
        },
    },
};
</script>
<style scoped lang="scss">
.content {
    font-size: 16px;
    font-family: Source Han Sans SC VF;
    font-weight: 400;
    color: #787878;
    line-height: 30px;
}
</style>
